﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using NBearLite;
using NBear.Mapping;
using Xin478.CSWork.Common;

namespace Xin478.CSWork.DomainModel
{
    public class RightModel
    {/*
        public Dictionary<string, RightInfo> GetEmployeeRights(EmployeeInfo ei)
        {
            return GetEmployeeRights(ei.Id);
        }

        public Dictionary<string, RightInfo> GetEmployeeRights(int employeeId)
        {
            return new Database("MyWork").Select(MyWork.Actions).Join(MyWork.Action_Group, MyWork.Actions.Id == MyWork.Action_Group.ActionId).Where(MyWork.Action_Group.GroupId == groupId).ToList<ActionInfo>();

        }*/
    }
}
